package parts3.lesson25;

import java.util.function.Consumer;

public class Demo3 {
    public static void main(String[] args) {
        Consumer<String> con = System.out::println;
        con.accept("我是输出的内容");

    }
}
